package cn.edu.zafu.bigdata.yt.HashMap;

public class TestStudentGradeManager_yt {
    public static void main(String[] args) {
        
        StudentGradeManager_yt gradeManager = new StudentGradeManager_yt();

        gradeManager.addStudent("Alice", 85);
        gradeManager.addStudent("Bob", 92);
        gradeManager.addStudent("Charlie", 78);

        System.out.println("Alice's grade: " + gradeManager.getGrade("Alice")); 
        System.out.println("Bob's grade: " + gradeManager.getGrade("Bob"));     
        System.out.println("Charlie's grade: " + gradeManager.getGrade("Charlie")); 
        System.out.println("David's grade: " + gradeManager.getGrade("David"));   

        gradeManager.removeStudent("Charlie");
        System.out.println("Charlie's grade after removal: " + gradeManager.getGrade("Charlie")); 
    }
}
